<#if member??>
<table class="info">
  <tr>
    <td width="130" rowspan="5" align="center">
      <img src="${_picPath!}${member.memberPhoto!}" width="130"/>
      <br>
      <a href="javascript:open('${_appPath!}/memberInfo/view?memberCode=${member.memberCode!}');">会员详情</a>
    </td width="80">
    <th>会员编号</th>
    <td>${member.memberCode!}</td>
  </tr>
  <tr>
    <th>会员姓名</th>
    <td>${member.chName!}</td>
  </tr>
  <tr>
    <th>性别</th>
    <td><@value type="gender" key="${member.gender!}"/></td>
  </tr>
  <tr>
    <th>会籍类型</th>
    <td><#if contract??><@value type="cardType" key="${contract.cardType!}"/></#if></td>
  </tr>
  <tr>
    <th>会员有效期</th>
    <td><#if contract??><#if contract.effectiveDate??>${contract.effectiveDate!}<#else>${contract.endTime!}</#if></#if></td>
  </tr>
  <tr>
    <td colspan="3" style="height:35px; text-align:center; color:#f00;">${note!}</td>
  </tr>
</table>
</#if>